home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / util / urlhandler.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  654b  |  15 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import wx
  5. from logging import getLogger
  6. log = getLogger('urlhandler')
  7. info = log.info
  8. if 'wxMSW' in wx.PlatformInfo:
  9.     
  10.     def register_protocol(protocol):
  11.         key = _winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER, 'HKEY_CLASSES_ROOT\\%s' % protocol, 0, _winreg.KEY_ALL_ACCESS)
  12.  
  13. else:
  14.     log.warning('No URL handling implementation for this platform.')
  15.